﻿<Window x:Class="is_alive.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:is_alive"
        mc:Ignorable="d"
        Title="살아있냐?" Height="350" Width="570" Icon="1480420280_NETWORK - LAN.png" UseLayoutRounding="True">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="44"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <DataGrid x:Name="dataGrid" Margin="10,10,10,10" AutoGenerateColumns="False" Grid.Row="1">
            <DataGrid.Columns>
                <DataGridTextColumn Header="핑?" Width="80" Binding="{Binding Alived_PING,  Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
                <DataGridTextColumn Header="ARP?" Width="100" Binding="{Binding Alived_ARP,  Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
                <DataGridTextColumn Header="IP Address" Width="120" Binding="{Binding IP, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
                <DataGridTextColumn Header="사용처" Binding="{Binding Note, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
                <DataGridTextColumn Header="마지막 체크시간" Binding="{Binding LastTime, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
            </DataGrid.Columns>
        </DataGrid>
        <Label x:Name="label" Content="10초에 한번씩 기록된 장비들에게 ARP와 PING을 날리는 프로그램입니다.&#xD;&#xA;프로그램 시작시 list.xml을 읽고, 종료시 list.xml에 저장합니다." HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Top" Height="42" Width="483"/>
        <!-- image 출처https://www.iconfinder.com/search/?q=lan&price=free -->
    </Grid>
</Window>
